.TH "SimpleFactory" 3 "Sat Dec 7 2019" "DesignPattern" \" -*- nroff -*-
.ad l
.nh
.SH NAME
SimpleFactory
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <DESIGNPATTERN_SimpleFactory\&.h>\fP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fB~SimpleFactory\fP ()"
.br
.ti -1c
.RI "\fBProfession\fP * \fBCreateProfession\fP (\fBPROFESSION_TYPE\fP eProfession)"
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static \fBSimpleFactory\fP * \fBInstance\fP ()"
.br
.ti -1c
.RI "static \fBVOID\fP \fBDestroy\fP ()"
.br
.in -1c
.SS "Private Member Functions"

.in +1c
.ti -1c
.RI "\fBSimpleFactory\fP ()"
.br
.ti -1c
.RI "\fBSimpleFactory\fP (const \fBSimpleFactory\fP &cSimpleFactory)"
.br
.ti -1c
.RI "\fBSimpleFactory\fP & \fBoperator=\fP (const \fBSimpleFactory\fP &cSimpleFactory)"
.br
.in -1c
.SS "Static Private Attributes"

.in +1c
.ti -1c
.RI "static \fBSimpleFactory\fP * \fBm_pInstance\fP = NULL"
.br
.in -1c
.SH "Detailed Description"
.PP 
Definition at line 14 of file DESIGNPATTERN_SimpleFactory\&.h\&.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "SimpleFactory::~SimpleFactory ()"
Destruction
.PP
\fBParameters\fP
.RS 4
\fIVOID\fP 
.RE
.PP
\fBReturns\fP
.RS 4
.RE
.PP

.PP
Definition at line 37 of file DESIGNPATTERN_SimpleFactory\&.cpp\&.
.SS "SimpleFactory::SimpleFactory ()\fC [private]\fP"
Construction
.PP
\fBParameters\fP
.RS 4
\fIVOID\fP 
.RE
.PP
\fBReturns\fP
.RS 4
.RE
.PP

.PP
Definition at line 26 of file DESIGNPATTERN_SimpleFactory\&.cpp\&.
.SS "SimpleFactory::SimpleFactory (const \fBSimpleFactory\fP & cSimpleFactory)\fC [private]\fP"
Copy Construction
.PP
\fBParameters\fP
.RS 4
\fIconst\fP \fBSimpleFactory\fP& cSimpleFactory 
.RE
.PP
\fBReturns\fP
.RS 4
.RE
.PP

.SH "Member Function Documentation"
.PP 
.SS "\fBProfession\fP * SimpleFactory::CreateProfession (\fBPROFESSION_TYPE\fP eProfession)"
Create \fBProfession\fP
.PP
\fBParameters\fP
.RS 4
\fIPROFESSION_TYPE\fP eProfession 
.RE
.PP
\fBReturns\fP
.RS 4
Profession* 
.RE
.PP
\fBNote\fP
.RS 4
\fBProfession\fP Type to identify the creating
.RE
.PP
Create \fBProfession\fP
.PP
\fBParameters\fP
.RS 4
\fIVOID\fP 
.RE
.PP
\fBReturns\fP
.RS 4
Profession* 
.RE
.PP
\fBNote\fP
.RS 4
\fBProfession\fP Type to identify the creating 
.RE
.PP

.PP
Definition at line 85 of file DESIGNPATTERN_SimpleFactory\&.cpp\&.
.SS "\fBVOID\fP SimpleFactory::Destroy ()\fC [static]\fP"
Destroy
.PP
\fBParameters\fP
.RS 4
\fIVOID\fP 
.RE
.PP
\fBReturns\fP
.RS 4
VOID 
.RE
.PP
\fBNote\fP
.RS 4
singleton 
.RE
.PP

.PP
Definition at line 68 of file DESIGNPATTERN_SimpleFactory\&.cpp\&.
.SS "\fBSimpleFactory\fP * SimpleFactory::Instance ()\fC [static]\fP"
Instance
.PP
\fBParameters\fP
.RS 4
\fIVOID\fP 
.RE
.PP
\fBReturns\fP
.RS 4
SimpleFactory* 
.RE
.PP
\fBNote\fP
.RS 4
singleton
.RE
.PP
Instance
.PP
\fBParameters\fP
.RS 4
\fIVOID\fP 
.RE
.PP
\fBReturns\fP
.RS 4
SimpleFactory* 
.RE
.PP
\fBNote\fP
.RS 4
\fBSimpleFactory\fP 
.RE
.PP

.PP
Definition at line 50 of file DESIGNPATTERN_SimpleFactory\&.cpp\&.
.SS "\fBSimpleFactory\fP& SimpleFactory::operator= (const \fBSimpleFactory\fP & cSimpleFactory)\fC [private]\fP"
Assignment
.PP
\fBParameters\fP
.RS 4
\fIconst\fP \fBSimpleFactory\fP& cSimpleFactory 
.RE
.PP
\fBReturns\fP
.RS 4
\fBSimpleFactory\fP& 
.RE
.PP

.SH "Member Data Documentation"
.PP 
.SS "\fBSimpleFactory\fP * SimpleFactory::m_pInstance = NULL\fC [static]\fP, \fC [private]\fP"

.PP
Definition at line 80 of file DESIGNPATTERN_SimpleFactory\&.h\&.

.SH "Author"
.PP 
Generated automatically by Doxygen for DesignPattern from the source code\&.
